package com.app.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 请求日志记录表
 * </p>
 *
 * @author yoominic
 * @since 2024-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_request_logs")
public class RequestLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 请求类型
     */
    private String type;

    private String meterno;



    private String code;

    /**
     * 发送的报文
     */
    private String requestMessage;

    /**
     * 返回的报文
     */
    private String responseMessage;

    private String ipAddress;

    /**
     * 耗时（秒）
     */
    private Integer duration;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;


}
